li{
    list-style: none;
}
#app{
    width: 100%;
    height: 100%;
    color: white;
}
.tomato_IM{
    position: fixed;
    top: 70px;
    left: 100px;
    box-shadow: 0 0 10px darkgray;
    width: 250px;
    height: 500px;
    margin: 0;
    padding: 0;
}
.tomato_info{
    width: 100%;
    height: 10%;
    margin: 0;
    padding: 0;
    background: linear-gradient(rgba(111,111,111,0.3),rgba(0,0,0,0));
    cursor: move;
}
.tomato_info>p{
    font-size: 15px;
    margin: 0;
    padding-top: 10px;
    text-align: center;
}
.tomato_tab{
    width: 100%;
    height: 7%;
    background: linear-gradient(rgba(0,0,0,0),rgba(111,111,111,0.3));
}
.tomato_tab>ul{
    width: 100%;
    height: 100%;
;
    padding: 0;
}
.tomato_tab>ul>li{
    width: 100%;
    height: 100%;
    text-align: center;

}
.tomato_tab>ul>li>span{
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 10px;
}
.tomato_content{
    width: 100%;
    height: 76%;
    overflow: auto;
    cursor: pointer;
}
.tomato_content::-webkit-scrollbar {/*滚动条整体样式*/
    width: 10px;     /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}
.tomato_content::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: #535353;
}
.tomato_content::-webkit-scrollbar-track {/*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border-radius: 10px;
    background: #EDEDED;
}
.tomato_friendlist{
    padding: 0;
}
.tomato_friendlist>li{
    border-radius: 2px;
    overflow: hidden;
    padding: 12px;
}
.tomato_friendlist>li:hover{
    background: rgba(111,111,111,0.8);
}
.tomato_tools{
    width: 100%;
    height: 7%;
}
.tomato_tools>ul{
    width: 100%;
    height: 100%;
}
.tomato_tools>ul>li{
    float: left;
    width: 50%;
    height: 100%;
    cursor: pointer;
    text-align: center;
    padding-top: 10px;
}
.tomato_tools>ul>li:hover{
    background: rgba(111,111,111,0.5);
}
/*chat_page*/
.chat_page{
    position: fixed;
    height: 500px;
    top: 70px;
    left: 350px;
    box-shadow: 0 0 10px darkgray;
    display: none;
}
.chat_list{
    display: inline-block;
    width: 163px;
    height: 100%;
    float: left;
    overflow: auto;
}
.chat_list::-webkit-scrollbar {/*滚动条整体样式*/
    width: 10px;     /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}
.chat_list::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: #535353;
}
.chat_list::-webkit-scrollbar-track {/*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border-radius: 10px;
    background: #EDEDED;
}
.chat_list>div{
    width: 100%;
    height: 8%;
    cursor: pointer;
}
.chat_list>div:hover{
    background: rgba(111,111,111,0.8);
    color: white;
}
.chat_list>div>span:first-of-type{
    display: inline-block;
    width: 78%;
    height: 100%;
    padding: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    float: left;
}
.chat_list>div>span:last-of-type{
    display: inline-block;
    width: 18%;
    height: 100%;
    padding: 10px 8px 0 0;
    float: right;
}
/*tomato_chat_panel*/
.tomato_chat{
    float: left;
    width: 488px;
    height: 100%;
    border-left: 1px solid rgba(111,111,111,0.7);
}
.tomato_chat_title{
    width: 100%;
    height: 10%;
    background: linear-gradient(rgba(111,111,111,0.3),rgba(111,111,111,0));
    cursor: move;
}
.tomato_chat_title>div:first-child{
    float: left;
    width: 92%;
    height: 100%;
}
.tomato_chat_title>div:first-child>p{
    padding: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tomato_chat_title>div:last-child{
    float: left;
    width: 8%;
    height: 100%;
}
.tomato_chat_title>div:last-child>span{
    display: inline-block;
    float: right;
    padding: 13px;
}
.tomato_chat_panel{
    width: 100%;
    height: 63%;
    overflow: auto;
    scrollbar-base-color: darkgray;
}
.tomato_chat_panel::-webkit-scrollbar {/*滚动条整体样式*/
    width: 10px;     /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}
.tomato_chat_panel::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: #535353;
}
.tomato_chat_panel::-webkit-scrollbar-track {/*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border-radius: 10px;
    background: #EDEDED;
}
.chat_panel_left{
    width: 100%;
    height: auto;
    padding: 10px;
}
.chat_panel_left>span:first-child {
    display: inline-block;
    max-width: 20%;
    border-radius: 6px;
    padding: 8px;
    float: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.chat_panel_left>span:last-of-type{
    display: inline-block;
    max-width: 78%;
    border-radius: 6px;
    padding: 8px;
    border: 1px solid darkgray;
    word-wrap: break-word;
    word-break: break-all;
    float: left;
}
.chat_panel_left>div{
    clear: both;
}
.chat_panel_right{
    width: 100%;
    height: auto;
    padding: 10px;
}
.chat_panel_right>span:first-child {
    display: inline-block;
    max-width: 20%;
    border-radius: 6px;
    padding: 8px;
    float: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.chat_panel_right>span:last-of-type{
    display: inline-block;
    max-width: 78%;
    border-radius: 6px;
    padding: 8px;
    float: right;
    border: 1px solid darkgray;
    word-wrap: break-word;
    word-break: break-all;
}
.chat_panel_right>div{
    clear: both;
}
.tomato_chat_tool{
    width: 100%;
    height: 6%;
    background: linear-gradient(rgba(111,111,111,0.3),rgba(111,111,111,0));
    padding: 5px;
}
.tomato_chat_tool>i{
    font-size: 20px;
    margin-left: 15px;
}
.tomato_textarea{
    width: 98%;
    height: 12%;
    overflow: hidden;
    margin: auto;
}
.tomato_textarea>textarea{
    resize: none;
    color: #000;
    background-color:transparent;
    border: 0;
    color: white;
}
textarea::-webkit-scrollbar {/*滚动条整体样式*/
    width: 10px;     /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}
textarea::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: #535353;
}
textarea::-webkit-scrollbar-track {/*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border-radius: 10px;
    background: #EDEDED;
}
.tomato_footer{
    width: 100%;
    height: 9%;
}
.tomato_footer>button{
    float: right;
    padding: 5px 10px;
    margin: 5px 20px;
    border-radius: 3px;
    border:none;
    background: transparent;
    border: 1px solid darkgray;
}
.tomato_footer>button:hover{
    box-shadow: 0 0 8px darkgray;
}
/*other css*/
.tomato_active{
    background: rgba(111,111,111,0.5);
}